#ifndef	dxUIShader_included
#define	dxUIShader_included
#pragma once

#include "..\..\Include\xrRender\UIShader.h"

class dxUIShader : public IUIShader
{
	friend class dxUIRender;
	friend class dxDebugRender;
	friend class dxWallMarkArray;
	friend class CRender;
public:
	virtual void Copy(IUIShader &_in);
	virtual void create(LPCSTR sh, LPCSTR tex=0);
	virtual bool inited() {return hShader;}
	virtual void destroy();
private:
	ref_shader		hShader;
};

#endif	//	dxUIShader_included